﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include "GcmpRenderingInterface.h"
#include "WeakReferenceable.h"

namespace gcmp
{
    class ICanvasEventArgs;

    /// \brief 场景事件接收者的接口
    class GCMP_RENDERING_INTERFACE_EXPORT ICanvasEventHandler : public WeakReferenceable
    {
    public:
        /// \brief 事件触发时
        ///
        /// \param pArgs 事件参数
        /// \return void
        virtual void On(ICanvasEventArgs* pArgs) = 0;
    };
}

